
# 矩阵相乘
import numpy as np
A = np.array([
    [1, 0, 1],
    [0, 1, 2],
    [0, 0, 0]
]).reshape(3, 3)
P = np.array([-1, -2, 1]).reshape(3, 1)

print(A)
print(P)

print(np.dot(A, P))